package cn.tedu.charging.order.pojo.param;


import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotNull;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class OrderAddParam {

    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    Integer userId;

    @ApiModelProperty(value = "庄id")
    @NotNull(message = "装id不能为空")
    Integer pileId;

    @ApiModelProperty(value = "枪id")
    @NotNull(message = "枪id不能为空")
    Integer gunId;
}
